<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en" ng-app='myApp'>
<head>
	<base href="<%=basePath%>">
	<!-- jsp文件头和头部 -->
	<%@ include file="../top.jsp"%>
	<style type="text/css">
		button {
			border-radius:15px !important;
		}
	</style>
</head>
<body>
	<div class="container-fluid" id="main-container">
		<!-- container-fluid start -->
		<div id="page-content" class="clearfix">
			<!-- page-content start -->
			<!-- 面包屑  -->
			<div id="breadcrumbs">
				<ul class="breadcrumb">
					<li><i class="icon-home"></i><a href="main/index"
						target="_top">Home</a><span class="divider"><i
							class="icon-angle-right"></i></span></li>
					<li><a href=""></a><span
						class="divider"><i class="icon-angle-right"></i></span></li>
					<li class="active">${Data.tableClassModel.tableName}</li>
				</ul>
				<!--.breadcrumb end-->
			</div>
			<!--#breadcrumbs end-->

			<div class="row-fluid">

				<div class="span12">

					<!-- =========== ${Data.tableClassModel.tableName}记录  start================ -->
					<div class="tab-pane"  
						ng-init="req_url='${Data.tableClassModel.classVariableName}/list'"
						ng-controller="MainCtrl"
						 ng-cloak class="ng-cloak">

    							<div class="widget-box" style="">
						<form id="recharge-his-form">
						</form>
						
						<table id="mtable" data-toggle="table"  class="table table-hover">
							<thead>
								<tr>
									<th class="center">
										<label><input type="checkbox"/><span class="lbl"></span></label>
									</th>
									<#list Data.tableClassModel.mapping as item> 
										<th>${item.memo}</th>
									</#list>
								</tr>
							</thead>
							<tbody>
								<tr ng-repeat="list in lists">
						            <td  class="center"><input type="checkbox" ng-click="select(list.ID)" value="{{lIST.ID}}" /><span class="lbl"></span></td>
									<td>{{$index + 1}}</td> 
									<#list Data.tableClassModel.mapping as item> 
										<#if item_has_next>
											<td>{{list.${item.column}}}</td>
										<#else>
											<td>{{list.${item.column}}}</td>
										</#if>
									</#list>	
								</tr>
							</tbody>
						</table>
						</div>
						<!-- 分页标签 --> 
						<my-page />
					</div>
					<!-- =========== ${Data.tableClassModel.tableName}记录  end================ -->
				</div>
				<!-- span12 end -->
			</div>
			<!-- row-fluid end -->
		</div>
		<!-- page-content end -->
	</div>
	<!-- container-fluid end -->
	<script src="util/sys-app.js"></script>
	<script type="text/javascript">
		_Set_CtrlN();
	</script>	
	<!-- jsp 尾 -->
	<%@ include file="../foot.jsp"%>
	<!-- 公共js -->
	<script type="text/javascript">
		<!-- 是否加载完成 -->
		$(top.hangge());
	</script>
</body>
</html>
